import UIKit

@available(iOS 6.0, *)
extension QKC where AA :UIActivityViewController {
		// set to nil after activity performs or view controller is dismissed
    @available(iOS, introduced: 6.0, deprecated: 8.0)
    open func completionHandler_qk_s(_ completionHandler:  UIActivityViewController.CompletionHandler? ) -> QKC<AA,YY,ZZ, UIActivityViewController.CompletionHandler? >{
		return link(next: completionHandler).then_QK { $0.value.completionHandler = completionHandler }
	}
    @available(iOS, introduced: 6.0, deprecated: 8.0)
    open func completionHandler_qk_g() -> QKC<AA,YY,ZZ, UIActivityViewController.CompletionHandler? >{
		 self +^ self.value.completionHandler
	}

		// set to nil after activity performs or view controller is dismissed
    @available(iOS 8.0, *)
    open func completionWithItemsHandler_qk_s(_ completionWithItemsHandler:  UIActivityViewController.CompletionWithItemsHandler? ) -> QKC<AA,YY,ZZ, UIActivityViewController.CompletionWithItemsHandler? >{
		return link(next: completionWithItemsHandler).then_QK { $0.value.completionWithItemsHandler = completionWithItemsHandler }
	}
    @available(iOS 8.0, *)
    open func completionWithItemsHandler_qk_g() -> QKC<AA,YY,ZZ, UIActivityViewController.CompletionWithItemsHandler? >{
		 self +^ self.value.completionWithItemsHandler
	}

		// default is nil. activity types listed will not be displayed
    open func excludedActivityTypes_qk_s(_ excludedActivityTypes:  [UIActivity.ActivityType]? ) -> QKC<AA,YY,ZZ, [UIActivity.ActivityType]? >{
		return link(next: excludedActivityTypes).then_QK { $0.value.excludedActivityTypes = excludedActivityTypes }
	}
    open func excludedActivityTypes_qk_g() -> QKC<AA,YY,ZZ, [UIActivity.ActivityType]? >{
		 self +^ self.value.excludedActivityTypes
	}

}

